package com.ruoyi.tel.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 调度日志对象 tel_schedule_log
 * 
 * @author lanyuyan
 * @date 2025-04-03
 */
public class TelScheduleLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID */
    private Long logId;

    /** 关联站址ID */
    @Excel(name = "关联站址ID")
    private Long siteId;

    /** 申报运营商名称 */
    @Excel(name = "申报运营商名称")
    private String operatorName;

    /** 故障类型（字典项，如：power_fault/network_fault） */
    @Excel(name = "故障类型", readConverterExp = "字=典项，如：power_fault/network_fault")
    private String faultType;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String processResult;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processTime;

    /** 处理人 */
    @Excel(name = "处理人")
    private String processBy;

    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }
    public void setFaultType(String faultType) 
    {
        this.faultType = faultType;
    }

    public String getFaultType() 
    {
        return faultType;
    }
    public void setProcessResult(String processResult) 
    {
        this.processResult = processResult;
    }

    public String getProcessResult() 
    {
        return processResult;
    }
    public void setProcessTime(Date processTime) 
    {
        this.processTime = processTime;
    }

    public Date getProcessTime() 
    {
        return processTime;
    }
    public void setProcessBy(String processBy) 
    {
        this.processBy = processBy;
    }

    public String getProcessBy() 
    {
        return processBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("siteId", getSiteId())
            .append("operatorName", getOperatorName())
            .append("faultType", getFaultType())
            .append("processResult", getProcessResult())
            .append("processTime", getProcessTime())
            .append("processBy", getProcessBy())
            .toString();
    }
}
